﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace ProductionManage.Models.Products
{
    /// <summary>
    /// 产品表
    /// </summary>
    public class Product : Entity<int>
    {
        /// <summary>
        /// 产品编码
        /// </summary>
        public string? ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string? SpecifiCation { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 物料产品标识
        /// </summary>
        public string? ProductItem { get; set; }

        /// <summary>
        /// 产品类型ID
        /// </summary>
        public int ProductTypeId { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsEnable { get; set; } 

        /// <summary>
        /// 是否设置安全库存
        /// </summary>
        public bool? IsStock { get; set; }

        /// <summary>
        /// 最低库存数量
        /// </summary>
        public double? MinStock { get; set; }
        
        /// <summary>
        /// 最高库存数量
        /// </summary>
        public double? MaxStocK { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
